From b0e2c417cb33b42f298e53c74664751f30155c95 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 13 Mar 2008 00:46:31 +0000 Subject: [PATCH] On error when loading a folder, use the raw error message instead of commenting it up Signed-off-by: Federico Mena Quintero svn path=/trunk/; revision=19853 --- gtk/gtkfilechooserentry.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index 072bc9bcc1..54d94fab6e 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -1275,13 +1275,9 @@ load_directory_get_folder_callback (GtkFileSystemHandle *handle, if (old_load_complete_action == LOAD_COMPLETE_EXPLICIT_COMPLETION) { /* Since this came from explicit user action (Tab completion), we'll present errors visually */ - char *msg; beep (chooser_entry); - - msg = g_strdup_printf (_("Could not load folder: %s"), error->message); - pop_up_completion_feedback (chooser_entry, msg); - g_free (msg); + pop_up_completion_feedback (chooser_entry, error->message); } gtk_file_path_free (chooser_entry->current_folder_path); -- 2.30.2